package cn.edu.zhku.citrusmonitor.person.expert.service;

import java.util.List;

import cn.edu.zhku.citrusmonitor.domain.TbExpert;
import cn.edu.zhku.citrusmonitor.domain.TbUser;

public interface ExpertService {

	public Object searchByExpertName(String expertName);
	
	public TbExpert login(String expertName, String password);
	
	public int addExpert(TbExpert expert);

	public int modifyExpert(TbExpert expert);
	
	public int deleteExpert(String id);
	
	public TbExpert getExpert(String id);

	public long getTotalCounts();
	
	public List<TbExpert> getBeanList(int currentPage,long pageSize);

	public TbExpert getExpertByName(String name);

	public int removeAll(String[] ids);
}
